package com.lkbaby.home.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * (Content)实体类
 *
 * @author makejava
 * @since 2022-09-21 17:13:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "content")
public class Content implements Serializable {
	private static final long serialVersionUID = -58153457309125687L;
	/**
	 * 主键
	 */
	@TableId(type = IdType.NONE)
	@Column(name = "id")
	private String id;

	/**
	 * 标题
	 */
	@Column(name = "title")
	private String title;
	/**
	 * 名称
	 */
	@Column(name = "name")
	private String name;
	/**
	 * 地址
	 */
	@Column(name = "src")
	private String src;
	/**
	 * 首行
	 */
	@Column(name = "first_desc")
	private String firstDesc;
	/**
	 * 尾行
	 */
	@Column(name = "second_desc")
	private String secondDesc;
	/**
	 * 背景图片
	 */
	@Column(name = "bg_img")
	private String bgImg;
	/**
	 * 背景图片alt描述
	 */
	@Column(name = "bg_img_alt")
	private String bgImgAlt;
	/**
	 * 概括
	 */
	@Column(name = "brief_desc")
	private String briefDesc;

}

